package model

type ResourceSearch struct {
	Vid		    int 	`json:"vid,omitempty"`
	Name        string 	`json:"name,omitempty"`
	Path        string 	`json:"path,omitempty"`
}

type SearchReturn struct {
	LocalData []ResourceSearch `json:"localData"`
	CloudData []ResourceSearch `json:"cloudData"`
}

type ResourceDetailData struct {
	Id        string                   `json:"id"`
	Channel	  string                   `json:"channel"`
	ChannelCn string                   `json:"channel_cn"`
	CnName    string                   `json:"cnname"`
	EnName    string                   `json:"enname"`
	Category  string                   `json:"category"`
	Poster    string                   `json:"poster"`
	List      []ResourceDetailDataList `json:"list"`
}

type ResourceDetailDataList struct {
	Season     string           `json:"season"`
	SeasonName string           `json:"season_name"`
	Episodes   []EpisodesDetail `json:"episodes"`
}

type EpisodesDetail struct {
	Episode     string `json:"episode"`
	EpisodeName string `json:"episode_name"`
	Url         string `json:"url"`
}